package com.misolab.util.json;

import java.util.HashMap;
import java.util.Map;

import org.json.JSONObject;
import org.json.JSONString;

public class Notice implements JSONString {

	Map<String, String> data; 

	public Notice(String title, String message, String end) {
		super();
		data = new HashMap<String, String>();
		data.put("title", title);
		data.put("message", message);
		data.put("end", end);
	}

	@Override
	public String toJSONString() {
		return new JSONObject(data).toString();
	}

}
